package ru.urfc.portal.ui.client.validators;

import com.extjs.gxt.ui.client.widget.form.Validator;

/**
 * Almost the same as {@link Validator}, but GXT independent
 */
public abstract class BaseValidator {

	/**
	 * @param value the value to validate
	 * @return <code>null</code> if validation passes, otherwise the error message
	 */
	public abstract String validate(String value);

}
